package com.easy.common.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("orderdetails")
public class OrderDetails {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private Integer orderid;
    private Integer productid;
    private BigDecimal price;
    private Integer count;
    private String productname;
    private String productimg;
}
